package gov.pbc.nn.kjgl.fxq.attachment;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

import gov.pbc.nn.core.entity.BaseEntity;

/**
 * 处理任务时上传的文件
 * 
 * @author Administrator
 * 
 */
@Entity
@Table(name = "T_FXQ_ATTACHMENT")
public class AttachmentEntity extends BaseEntity {

	private static final long serialVersionUID = 114471492536318369L;

	@Column(name = "FXQ_ENTITY_ID_", length = 60)
	@PropertyDef(label = "记录ID")
	private String fxqEntityId;
	
	@Column(name = "ATTACHMENT_TYPE_", length = 200)
	@PropertyDef(label = "附件类别")
	private String documentType;
	
	@Column(name = "ATTACHMENT_CODE_", length = 200)
	@PropertyDef(label = "附件编号")
	private String documentCode;	
	
	@Column(name = "FILE_NAME_", length = 120)
	@PropertyDef(label = "文件名")
	private String fileName;
	
	@Column(name = "PATH_")
	@PropertyDef(label = "文件路径")
	private String path;

	@Column(name = "SIZE_")
	@PropertyDef(label = "文件大小")
	private String size;
	
	@Column(name = "DEPT_ID_", length = 60)
	private String deptId;
	
	@Column(name = "DEPT_NAME_", length = 200)
	@PropertyDef(label = "所属部门")
	private String deptName;
	
	@Column(name = "ORG_ID_", length = 60)
	private String orgtId;
	
	@Column(name = "ORG_NAME_", length = 200)
	@PropertyDef(label = "所属单位")
	private String orgName;
	
	@Column(name = "REMARK_", length = 520)
	@PropertyDef(label = "简要描述")
	private String remark;
	
	public String getFxqEntityId() {
		return fxqEntityId;
	}

	public void setFxqEntityId(String fxqEntityId) {
		this.fxqEntityId = fxqEntityId;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getDocumentType() {
		return documentType;
	}

	public void setDocumentType(String documentType) {
		this.documentType = documentType;
	}

	public String getDocumentCode() {
		return documentCode;
	}

	public void setDocumentCode(String documentCode) {
		this.documentCode = documentCode;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getOrgtId() {
		return orgtId;
	}

	public void setOrgtId(String orgtId) {
		this.orgtId = orgtId;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
	
	

}
